import request from '@/utils/request'

export function getNoteList(params) {
  return request({
    url: '/note/list',
    method: 'get',
    params
  })
}

export function deleteNote(id) {
  return request({
    url: `/note/delete/${id}`,
    method: 'post'
  })
}

export function restoreNote(id) {
  return request({
    url: `/note/restore/${id}`,
    method: 'post'
  })
} 